<?php
/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * date: 2021-09-09 21:26:54
 * @LastEditors: Sam
 * @LastEditTime: 2021-12-08 19:35:43
 */
$first_id = db('mg_menu')->insertGetId([
    'mg_module'   => $mg_module,
    'name'        => '签到记录',
    'router'      => "{$mg_module}/Sign/sign_list",
    'icon'        => 'layui-icon-survey',
    'status'      => 1,
    'sort'        => 99,
    'module'      => $mg_module,
    'controller'  => 'Sign',
    'action'      => 'sign_list',
    'create_time' => time()
]);

